gtkswitch: Decouple set_state with set_active.
authorAlessandro Bono <alessandro.bono369@gmail.com>
Mon, 23 Jan 2023 15:03:45 +0000 (16:03 +0100)
committerAlessandro Bono <alessandro.bono369@gmail.com>
Tue, 24 Jan 2023 13:55:16 +0000 (14:55 +0100)
commit53d87e42a56f96c64589bc48772f5fcfd89a30c4
tree2f0c9387f629c840ea0849dc15b93c7c798bde3b
parent9c669cbe90caed56504708a0bada554ff1b88dbe
gtkswitch: Decouple set_state with set_active.

Allow the user to set a state that doesn't reflect the active property.
gtk/gtkswitch.c